package com.org.service;

import com.org.entity.Users;
import org.springframework.stereotype.Service;
import com.org.entity.bo.UserBO;

@Service
public interface UserService {

    //判断用户名是否存在
    public boolean queryUserNameIsExist(String username);

    //创建用户
    public Users createUser(UserBO userbo);

    //检索用户名和密码是否匹配,用于登录
    public Users queryUserForLogin(String username,String password);
}
